<template>
	<view class="self-loading" :style="`height:${props.height};`">
		<van-loading vertical color="#0094ff">
		  数据加载中...
		</van-loading>
	</view>
</template>

<script setup>
	const props = defineProps({
		height:{
			type:String,
			default:()=>{
				return '200px'
			}
		}
	})
</script>

<style lang="scss" scoped>
.self-loading{
	// height: 200px;
	display: flex;
	justify-content: center;
	align-items: center;
}
</style>